package com.ruoyi.dangerControl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 隐患-培训管理-部门对象 hd_train_score
 * 
 * @author lth
 * @date 2023-12-20
 */
public class HdTrainScore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 培训部门主键 */
    @Excel(name = "培训部门主键")
    private Long trainDeptId;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String realName;

    /** 职务 */
    @Excel(name = "职务")
    private String post;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 分数 */
    @Excel(name = "分数")
    private String score;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTrainDeptId(Long trainDeptId) 
    {
        this.trainDeptId = trainDeptId;
    }

    public Long getTrainDeptId() 
    {
        return trainDeptId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setPost(String post) 
    {
        this.post = post;
    }

    public String getPost() 
    {
        return post;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setScore(String score) 
    {
        this.score = score;
    }

    public String getScore() 
    {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("trainDeptId", getTrainDeptId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("realName", getRealName())
            .append("post", getPost())
            .append("phone", getPhone())
            .append("score", getScore())
            .toString();
    }
}
